unit DicActTypes;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  AbstDictionary, ActnList, Db, ExtCtrls, Grids, DBGrids, Buttons;

type
  TfmDicActsType = class(TfmAbstDictionary)
    procedure FormCreate(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fmDicActsType: TfmDicActsType;

implementation
uses ModifyActsType, SpisCnst;
{$R *.DFM}

procedure TfmDicActsType.FormCreate(Sender: TObject);
begin
  inherited;
  MandatoryField:='REG_N';
//  UniqueKeys:='CO.'+FN_CONTRACTOR_ID;
//  RegCode:=RI_CONTRAGENT;
  ModifyClass := TfmModifyActsType;
//  PrintClass:=TfDic005;
//  UseOrigin:=True;
  setTableID(dtActTypes);
end;

procedure TfmDicActsType.FormClose(Sender: TObject;
  var Action: TCloseAction);
begin
  inherited;
  fmDicActsType := nil;
end;

end.
